package com.aprivate.kn.ratingsystem.bean;

/**
 * Created by kenan on 2018/11/16.
 */

public class ResponseBean {

    /**
     * statusCode : 200
     * data : {"name":"admin","id":8,"type":0,"token":"2605162b59a647b5a4bc151ae63a55c5"}
     * errorInfo : null
     * recordsTotal : null
     * recordsFiltered : null
     */

    private String statusCode;

    private Object errorInfo;
    private Object recordsTotal;
    private Object recordsFiltered;
    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }



    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public Object getErrorInfo() {
        return errorInfo;
    }

    public void setErrorInfo(Object errorInfo) {
        this.errorInfo = errorInfo;
    }

    public Object getRecordsTotal() {
        return recordsTotal;
    }

    public void setRecordsTotal(Object recordsTotal) {
        this.recordsTotal = recordsTotal;
    }

    public Object getRecordsFiltered() {
        return recordsFiltered;
    }

    public void setRecordsFiltered(Object recordsFiltered) {
        this.recordsFiltered = recordsFiltered;
    }

    public static class DataBean {
        /**
         * name : admin
         * id : 8
         * type : 0
         * token : 2605162b59a647b5a4bc151ae63a55c5
         */

        private String name;
        private int id;
        private int type;
        private String token;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }
    }
}
